<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<h2>
<c:out value="${artist.name}"/>
</h2>
<c:out value="${artist.description}"/>
<br/>
<br/>
<img src="${pageContext.request.contextPath}/img/artists/${artist.id}.jpg"/>
<h2>Discography</h2>
<ul>
<c:forEach var="album" items="${albums}">
    <li>
        <a href="<c:url value="/getAlbum?albumId=${album.id}"/>"><c:out value="${album.name} (${album.year})"/></a>
    </li>
</c:forEach>
</ul>
<br>
<a href="<c:url value="/home"/>">Home</a>